package net.lab1024.sa.admin.module.business.supercomputer.datasource.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 111 更新表单
 *
 * @Author zxp
 * @Date 2024-09-27 09:37:05
 * @Copyright 11111
 */

@Data
public class DatasourceUpdateForm {

    @Schema(description = "主键标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "主键标识 不能为空")
    private Integer dataSourceId;

    @Schema(description = "数据源名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "数据源名称 不能为空")
    private String dataSourceName;

    @Schema(description = "连接信息", requiredMode = Schema.RequiredMode.REQUIRED)
    //@NotBlank(message = "连接信息 不能为空")
    private String connInformation;

}